assume cs:code
code segment
    mov ax, -ffffh
    mov dx, ax
    mov bx, 6
    mov al, [bx]
    mov ah, 0
    mov dx, 0
    mov cx, 123
    s:add dx, ax
    loop s
    mov ax, 4c00h
    int 21h
code ends
end